package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author moguai
 * @version 1.0
 * @date 2022/3/17 20:25
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("role")
public class Role {
    @TableId(type = IdType.AUTO)

    private Integer role_id;
    private String role_name;
    private Long updatetime;
//    public Role(Role role){
//        this.role_id=role.role_id;
//        this.role_name=role.role_name;
//    }
}
